package com.svse.designPattern.behaviour.command.test;

import com.svse.designPattern.behaviour.command.command.Command;
import com.svse.designPattern.behaviour.command.concretecommand.ConcreteCommand;
import com.svse.designPattern.behaviour.command.invoker.Invoker;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/6 20:37
 */
public class test {
    public static void main(String[] args) {
        Command cmd=new ConcreteCommand();
        Invoker ir=new Invoker(cmd);
        System.out.println("客户访问调用者的call()方法...");
        ir.call();
    }
}
